#!/usr/local/bin/python3
# -*- coding: UTF-8 -*-
"""
@author:apple
@file:demo01.py
@time:2022/02/08
"""
import builtins

age = 10


def test01():
    ...
    global age
    age = 20


def test02():
    ...

    if False:
        def fun():
            print('111')
    else:
        def fun():
            print('2222')

    fun()


def inset(one,two):
    ...
    return [o for o in one if o in two]


def test03():
    ...
    print(inset('abc', 'cdn'))
    print(inset([1, 2, 3], [1, 3, 4]))


def test04():
    for name in dir(builtins):
        print(name)

    global xx
    xx = 20



if __name__ == '__main__':
    pass
    # test01()
    # print(age)
    # test02()
    test04()
    print(xx)